package eight;

import java.util.List;

/**
 * @author zzb
 * @since 2021-01-13
 */

//Component
public abstract class Employer {
  private String name;

  public abstract void add(Employer employer);
  public abstract void delete(Employer employer);
  public List<Employer> employers;

  public String getName() {
    return name;
  }

  public void setName(String name) {
    this.name = name;
  }

  public void printInfo() {
    System.out.println(name);
  }
  public List<Employer> getEmployers() {
    return this.employers;
  }
}
